package net.xicp.tarbitrary.service;

import net.xcip.tarbitrary.service.FooService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.annotation.DubboService;


@DubboService
public class FooServiceImpl implements FooService {

    @DubboReference
    BarService barService;



    @Override
    public String call(String name) {

        String call = barService.call(name);

        return "fooservice invoke barservice, " + call;
    }
}
